<?php
/**
 * ProjectName: Grapes.
 * Created by LemonZ.
 * FileName: Demoqrcode.php
 * Date: 2019/2/15
 * Time: 0:16
 * Description:
 */

namespace org;


class Demoqrcode{
    function demo($url=''){
        include_once 'phpqrcode.php';
        $filename = 'static/images/'.time().'.png';
        QRcode::png($url,$filename , 'L', 10, 2);
    }
}